Skip to content

Added playground project and fixed CLDC API bugs#4629

Open
shai-almog wants to merge 30 commits intomasterfrom
playground-support
Open

Added playground project and fixed CLDC API bugs#4629
shai-almog wants to merge 30 commits intomasterfrom
playground-support

Conversation

@shai-almog
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Mar 21, 2026

✅ Continuous Quality Report

Test & Coverage

Static Analysis

Generated automatically by the PR CI workflow.

@github-actions
Copy link

github-actions bot commented Mar 21, 2026

✅ ByteCodeTranslator Quality Report

Test & Coverage

  • Tests: 139 total, 0 failed, 2 skipped

Benchmark Results

  • Execution Time: 9799 ms

  • Hotspots (Top 20 sampled methods):

    • 18.85% java.lang.String.indexOf (326 samples)
    • 18.45% com.codename1.tools.translator.Parser.isMethodUsed (319 samples)
    • 12.32% java.util.ArrayList.indexOf (213 samples)
    • 7.52% com.codename1.tools.translator.Parser.addToConstantPool (130 samples)
    • 4.63% java.lang.Object.hashCode (80 samples)
    • 3.70% com.codename1.tools.translator.ByteCodeClass.calcUsedByNative (64 samples)
    • 3.59% java.lang.System.identityHashCode (62 samples)
    • 3.53% com.codename1.tools.translator.BytecodeMethod.addToConstantPool (61 samples)
    • 2.66% com.codename1.tools.translator.BytecodeMethod.optimize (46 samples)
    • 2.26% com.codename1.tools.translator.BytecodeMethod.equals (39 samples)
    • 1.56% com.codename1.tools.translator.Parser.generateClassAndMethodIndexHeader (27 samples)
    • 1.39% com.codename1.tools.translator.Parser.cullMethods (24 samples)
    • 1.39% java.lang.StringBuilder.append (24 samples)
    • 1.10% com.codename1.tools.translator.ByteCodeClass.markDependent (19 samples)
    • 1.04% sun.nio.fs.UnixNativeDispatcher.open0 (18 samples)
    • 0.93% com.codename1.tools.translator.BytecodeMethod.appendMethodC (16 samples)
    • 0.81% com.codename1.tools.translator.BytecodeMethod.appendCMethodPrefix (14 samples)
    • 0.75% sun.nio.ch.FileDispatcherImpl.write0 (13 samples)
    • 0.75% com.codename1.tools.translator.BytecodeMethod.isMethodUsedByNative (13 samples)
    • 0.64% java.lang.StringCoding.encode (11 samples)
  • ⚠️ Coverage report not generated.

Static Analysis

  • ✅ SpotBugs: no findings (report was not generated by the build).
  • ⚠️ PMD report not generated.
  • ⚠️ Checkstyle report not generated.

Generated automatically by the PR CI workflow.

@shai-almog
Copy link
Collaborator Author

shai-almog commented Mar 21, 2026

Compared 32 screenshots: 32 matched.

Native Android coverage

  • 📊 Line coverage: 7.50% (3822/50985 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 5.91% (18937/320532), branch 2.79% (870/31131), complexity 3.51% (1044/29784), method 6.19% (859/13887), class 10.32% (190/1841)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6327 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.ClassReader – 0.00% (0/1519 lines covered)
      • kotlin.collections.kotlin.collections.CollectionsKt___CollectionsKt – 0.00% (0/1148 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.MethodWriter – 0.00% (0/923 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/712 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/623 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.Frame – 0.00% (0/564 lines covered)
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysJvmKt – 0.00% (0/495 lines covered)
      • kotlinx.coroutines.kotlinx.coroutines.JobSupport – 0.00% (0/423 lines covered)

✅ Native Android screenshot tests passed.

Native Android coverage

  • 📊 Line coverage: 7.50% (3822/50985 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 5.91% (18937/320532), branch 2.79% (870/31131), complexity 3.51% (1044/29784), method 6.19% (859/13887), class 10.32% (190/1841)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6327 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.ClassReader – 0.00% (0/1519 lines covered)
      • kotlin.collections.kotlin.collections.CollectionsKt___CollectionsKt – 0.00% (0/1148 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.MethodWriter – 0.00% (0/923 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/712 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/623 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.Frame – 0.00% (0/564 lines covered)
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysJvmKt – 0.00% (0/495 lines covered)
      • kotlinx.coroutines.kotlinx.coroutines.JobSupport – 0.00% (0/423 lines covered)

@shai-almog
Copy link
Collaborator Author

shai-almog commented Mar 21, 2026

iOS screenshot updates

Compared 32 screenshots: 30 matched, 2 updated.

  • BrowserComponent — updated screenshot. Screenshot differs (1179x2556 px, bit depth 8).

    BrowserComponent
    Preview info: Preview provided by instrumentation.
    Full-resolution PNG saved as BrowserComponent.png in workflow artifacts.

  • landscape — updated screenshot. Screenshot differs (2556x1179 px, bit depth 8).

    landscape
    Preview info: Preview provided by instrumentation.
    Full-resolution PNG saved as landscape.png in workflow artifacts.

Benchmark Results

  • VM Translation Time: 0 seconds
  • Compilation Time: 62 seconds

Detailed Performance Metrics

Metric Duration
Simulator Boot 0 ms
Simulator Boot (Run) 0 ms
App Install 2000 ms
App Launch 4000 ms
Test Execution 129000 ms

@github-actions
Copy link

Cloudflare Preview

@shai-almog shai-almog force-pushed the playground-support branch 4 times, most recently from f41d0a7 to db1435b Compare March 22, 2026 05:55
@github-actions
Copy link

github-actions bot commented Mar 26, 2026

Developer Guide build artifacts are available for download from this workflow run:

Developer Guide quality checks:

  • AsciiDoc linter: 1 issue(s) flagged (1 errors) (exit code 1) (report)
  • Vale: 18568 alert(s) (2700 errors, 6340 warnings, 9528 suggestions) (exit code 1) (report)
  • Image references: 33 unused image(s) found (report)

Unused image preview:

  • img/uwp-app-manager-apps.png
  • img/uwp-certificate-generator.png
  • img/uwp-cn1settings-debug-desktop-selected.png
  • img/uwp-cn1settings-disk-icon.png
  • img/uwp-cn1settings-uwp.png
  • img/uwp-cn1settings-windows-settings-menu-item.png
  • img/uwp-dashboard-download-appxbundle.png
  • img/uwp-extract-zip-file.png
  • img/uwp-mobile-recently-added.png
  • img/uwp-mobile-settings-developer-mode.png
  • ... and 23 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant